<?php include('config.php') ?>
<?php
    $id = $_GET['id'];
    $sql = "DELETE FROM `question` WHERE `ID`=$id";
    if(mysql_query($sql)){
        echo 'Question deleted successfully.';
    }
    else echo mysql_error();
?>